#ifndef RAFT_HANDLER
#define RAFT_HANDLER
#include "net/ip/uip.h"
#include "ffz/bit-ops.h"
/**
 * the process of handler a packet
 * @param sender_addr the ip address of packet sender
 * @param data the content of the packet
 * */
void raftHandler(const uip_ipaddr_t *sender_addr, const uint8_t *data, uint16_t datalen);
#endif